<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>添加用户组</title>
<!--{ include file="header.html" }-->
<script language="javascript">
function chkAddForm(){
	var ugt = $('#UserGroupType').val();
	var ugn = $('#UserGroupName').val();
	var ubu = $('#UserBetaUpdate').val();
	if(ugt == 0 || !ugn || !ubu){
		alert('请完整资料！');
		return false;
	}
}
</script>
</head>

<body>
<div align="right"><input type="button" name="addnewseller" value="组列表" onclick="javascript:window.location.href='./index.php?module=user&act=group';" /></div><br/>
<form name="form_seller_province_add" method="post" action="./index.php?module=user&act=group" enctype="multipart/form-data" onSubmit="return chkAddForm();">
<table width="100%"  border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#0066FF">
  <tr bgcolor="#96d6f8">
    <td height="20" colspan="2">&nbsp;编辑用户组</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="30%" height="20" align="right" bgcolor="#FFFFFF">组类型：</td>
    <td>
	<select name="UserGroupType" id="UserGroupType">
	<option value="0">--请选择类型--</option>
	<option value="1" <!--{if 1 == $info.UserGroupType}--> selected <!--{/if}--> >权限用户组</option>
	<option value="2" <!--{if 2 == $info.UserGroupType}--> selected <!--{/if}--> >商业用户组</option>
	<option value="3" <!--{if 3 == $info.UserGroupType}--> selected <!--{/if}--> >等级用户组</option>
	</select>
	</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="30%" height="20" align="right" bgcolor="#FFFFFF">组名：</td>
    <td><input name="UserGroupName" type="text" id="UserGroupName" value="<!--{ $info.UserGroupName }-->"></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="30%" height="20" align="right" bgcolor="#FFFFFF">是否参与测试：</td>
    <td>
	<select name="UserBetaUpdate" id="UserBetaUpdate">
	<option value="0" <!--{if 0 == $info.UserBetaUpdate}--> selected <!--{/if}--> >否</option>
	<option value="1" <!--{if 1 == $info.UserBetaUpdate}--> selected <!--{/if}--> >是</option>
	</select>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
    <td><input type="submit" name="Submit" value="提交">
      <input type="reset" name="Submit" value="重置">
      <input type="hidden" name="step" value="do_edit">
	  <input type="hidden" name="id" value="<!--{$info.UserGroupID}-->" />
      </td>
  </tr>

</table>
</form>
</body>
</html>